'use strict'
import request from '@/utils/request'
/**
 * 列表查询
 */
export function queryPage(data, type) {
  const url = type === 'no' ? '/backend/activitySignInfo/noSignedQueryPage' : '/backend/activitySignInfo/signedQueryPage'
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: url,
    method: 'post',
    data
  })
}
export function maskAPI(data, type) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activitySignInfo/noSignedExportMasking',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
export function noMaskAPI(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activitySignInfo/noSignedExportNoMasking',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
export function maskAPIYes(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activitySignInfo/signedExportMasking',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
export function noMaskAPIYes(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activitySignInfo/signedExportNoMasking',
    method: 'post',
    data,
    responseType: 'blob'
  })
}
